package com.itheima_01.day07.KuoZhanZuoYe_01;

public class Test {
    public static void main(String[] args) {
        Cat cat=new Cat("花色","波斯猫");

        cat.setColor("蓝色");
        cat.setBreed("英国短毛猫");
        System.out.print(cat.getColor()+"的"+cat.getBreed());
        cat.eat();

        Dog dog=new Dog("黑色","德牧");
        dog.setColor("黑色的");
        dog.setBreed("藏獒");
        System.out.print(dog.getColor()+dog.getBreed());
        dog.lookHome();
    }
}
